package io.renren.modules.moyuData.dao;

import com.baomidou.mybatisplus.core.metadata.IPage;


import io.renren.modules.moyuData.entity.Coordinate;
import io.renren.modules.moyuData.entity.KgmData;
import io.renren.modules.moyuData.entity.KmgDataEntity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 流变数据
 * 
 * @author chenshun
 * @email sunlightcs@gmail.com
 * @date 2021-02-02 14:56:39
 */
@Mapper
public interface KmgDataDao extends BaseMapper<KmgDataEntity> {
//    List<KgmData> getPreparationMethod(@Param("kgmState")String kgmState);
        List<KmgDataEntity> getPreparationMethod(@Param("kgmState")String kgmState,@Param("kgmBlendingEnvironment")String kgmBlendingEnvironment,@Param("dataType")String dataType,
                                   @Param("temperature")Double temperature,@Param("ph")Double ph,@Param("concentration")Double concentration);
        List<Coordinate> getCoordinate(Long kgmId);
}

